import config from '@/api/config.js';

import {
    request
  } from '@/utils/request'


 export function getWxCodeInfo(query) {
    query['wxAppId'] = config.wxAppId
    return request({
        url: '/mini/weChat/getWxCode',
        method: 'GET',
        query
      })
  }


  export function wxLogin(data) {
    data['wxAppId'] = config.wxAppId
    return request({
      url: '/mini/weChat/wxLogin',
      method: 'POST',
      data
    })
  }

  